﻿using System;
using System.Text;

namespace InternetSpiderLib.Scenes.UrlHistories
{
    public interface IUrlHistories
    {
        /// <summary>
        /// 添加历史
        /// </summary>
        /// <param name="url"></param>
        void AddHistory(string url);

        /// <summary>
        /// 是否存在这个链接
        /// </summary>
        /// <param name="url"></param>
        /// <returns></returns>
        bool Exist(string url);
    }
}
